﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GreenPepper.Interpreters.Scenario;

namespace APLDTests.AcceptanceTests
{
    class FeatureTestFixture
    {
        bool passed = false;

        public FeatureTestFixture()
        {
        }

        public FeatureTestFixture(string str)
        {
        }
      
        [Given ("given a test is run")]
        public void given(){

        }

        [Given ("when the test ([a-z]+)")]
        public void when(string str){
            if (str.Equals("passes"))
            {
                passed = true;
            }
        }

        [Check ("then this line is ([a-z]+)")]
        public bool then(String s){
            return passed;
        }

    }
}
